﻿using System.Collections.Generic;
using System.Linq;

namespace Avalon.Core.MVC.StateBags
{
    public interface IContextEntityBag<TViewModel, TModel> : IEntityBag<TModel>
    {
        IEnumerable<TViewModel> ViewModels { get; set; }
        IQueryable<TModel> Models { get; set; }
        TViewModel ViewModel { get; set; }

        BagState BagState { get; set; }
    }
}
